WeDevs\Dokan\REST\ReverseWithdrawalController A

Total Complexity 53
Dependencies 5
Dependents 0
Total lines 950
Lines of code 630
Logical lines of code 126
Comment lines 241
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
format_collection_response()
S
51 7 25
get_store_transactions()
S
50 6 26
get_public_schema_for_vendor_balance()
S
37 1 100
register_routes()
S
38 1 90
get_item_schema()
S
40 1 75
get_stores_balance()
S
53 4 22
get_vendor_due_status()
S
61 4 12
get_public_item_schema_for_store_balance()
S
46 1 46
get_store_transactions_route_params()
S
48 1 39
get_stores_balance_route_params()
S
48 1 37
prepare_vendor_due_status_for_response()
S
53 2 21
create_transaction()
S
58 2 17
get_transaction_types()
S
61 2 13
prepare_balance_for_response()
S
59 2 13
prepare_links()
S
62 2 11
get_public_item_schema_for_transaction_types()
S
55 1 22
get_public_schema_for_stores()
S
55 1 22
get_store_transactions_permissions_check()
S
79 2 3
add_to_cart()
S
68 2 7
get_stores()
S
67 2 8
get_vendor_due_status_permissions_check()
S
79 2 3
create_transactions_permissions_check()
S
79 2 3
get_stores_balance_permissions_check()
S
80 1 3
prepare_transaction_for_response()
S
69 1 6
get_transaction_types_permissions_check()
S
81 1 3
get_stores_permissions_check()
S
80 1 3